package com.example.questionnaire.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.questionnaire.pojo.DO.AllQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AllQuestionMapper extends BaseMapper<AllQuestion> {

    String selectTitle(@Param("subject_id") String subject_id);

    int selectAllByQuestionType(@Param("subject_id") String subject_id);

    List<String> selectSubjectId(@Param("formid") String formid);



}
